 package com.lj.mcore.entity;

  import com.lj.mcore.domain.IdEntity;
 import jakarta.persistence.*;


 @Entity
 @Table(name="shopping_complaint_goods")
 public class ComplaintGoods extends IdEntity
 {
 
   @ManyToOne(fetch=FetchType.LAZY)
   private Goods goods;
 
   @Column(columnDefinition="LongText")
   private String content;
 
   @ManyToOne(fetch=FetchType.LAZY)
   private Complaint complaint;
 
   public Goods getGoods()
   {
     return this.goods;
   }
 
   public void setGoods(Goods goods) {
     this.goods = goods;
   }
 
   public String getContent() {
     return this.content;
   }
 
   public void setContent(String content) {
     this.content = content;
   }
 
   public Complaint getComplaint() {
     return this.complaint;
   }
 
   public void setComplaint(Complaint complaint) {
     this.complaint = complaint;
   }
 }



 
 